Control loop compensation circuit and method

ABSTRACT

A control loop circuit is disclosed for optimizing a power supply output under varying load conditions. The power supplye has a main loop amplifier and an output stage to generate the output. The control loop circuit includes a static control path coupled to the output and having an error amplifier. The error amplifier is operative to generate an error signal for presentation to the main loop amplifier where the error signal represents the difference between a desired output and a sensed output. A dynamic control path is coupled to the error amplifier output and is responsive to the error signal to generate a dynamic compensation signal. The dynamic control path has an output coupled to the main loop amplifier output.

FIELD OF THE INVENTION

[0001] The invention relates generally to automatic test equipment and more particularly a control loop circuit and method for a high speed and high accuracy power supply for use with a semiconductor tester.

BACKGROUND OF THE INVENTION

[0002] Modem integrated circuits (ICs) operate according to strictly defined electrical parameters. In order to stay within those parameters, ICs need an accurate and responsive source of power in the form of device power supplies. These electronic assemblies typically implement control circuitry to minimize changes in the output due to a variety of factors.

[0003] The current demand by an IC often varies between high and low extremes during operation. Under these conditions, it is important that the supply voltage to the IC remain as constant as possible during these current load swings. In order to minimize supply voltage changes, conventional design considerations involve varying two factors. First, a large amount of capacitance is often placed near the IC to supply near instantaneous current, when needed. Second, the device power supply is typically optimized to respond to the change in current demand as rapidly as possible.

[0004] For automatic test equipment (ATE) applications, the power supply is typically called a device-under-test (DUT) power supply. In this context, the DUT acts as a load on the tester. For modem DUTs, such as VLSI microprocessors, operation typically demands relatively high currents during a test. The current required by the DUT may vary from very low to very high values during a very short period of time (nanoseconds).

[0005] DUT power supply manufacturers often optimize the response of the power supply control loop by sensing the voltage at the DUT and feeding it back to an error amplifier to generate an error signal at the power supply control amplifier. While this technique often optimizes the response to a certain degree, an end user of the power supply often has the freedom to change the amount of capacitance located near the DUT. Moreover, the load itself may have a wide range of selectable current steps. As a result, it is difficult for the power supply manufacturer to predict the optimal control loop performance for all possible combinations.

[0006] Typical DUT power supplies often include a main loop amplifier that drives one or more output stages. A control loop is established through sense lines that feed the power supply output back to the error amplifier. The error amplifier compares the actual output to the desired output and provides an error signal to the main loop amplifier to adjust the output accordingly.

[0007] Conventional power supply compensation methods to smooth overshoot or undershoot responses typically focus on the main loop amplifier. This has classically been a first order compensation scheme employing a single resistor and capacitor in series between the amplifier output and its negative input. Different compensations to optimize the error signal are achieved by changing the values of the resistor and capacitor. Older conventional schemes typically employed a single compensation setting that often compromised performance. Newer conventional schemes have employed from two to eight selectable settings.

[0008] However, for any given conventional compensation, it's only optimized for a given combination of load resistance and capacitance. The load (DUT) produces an error signal with a change in voltage per change in time (dv/dt) that's a direct function of the load current, load capacitance, other parasitics, and power supply response time. The supply response time is included since it responds during the droop time.

[0009] As noted above, at any given time, the dv/dt is a function of load current, capacitance current and supply current. Initially the load current is supplied from the capacitance. Over time, the power supply starts to share in this current supply to the load. Eventually, the supply provides all the load current. This is a dynamically changing dv/dt for a given set of load, capacitance and loop compensation. The compensation, however, is not dynamic. It only responds in one way, dictated by the RC values selected.

[0010] Another problem with conventional DUT power supplies involves the possibility that an end user may select the improper compensation setting. This may lead to full power oscillation of the power supply outputs, and cause destruction of device-interface-boards (DIBs), VLSI parts, and DIB capacitors.

[0011] What is needed and heretofore unavailable is a high-accuracy device power supply for both ATE and non-ATE applications capable of addressing the compensation problem without compromising performance and accuracy. The control loop circuit and method of the present invention satisfies this need.

SUMMARY OF THE INVENTION

[0012] The control loop circuit and method of the present invention provides a way to automatically compensate for changing load conditions during semiconductor device operation. This maximizes power supply performance and accuracy, correspondingly maximizing device operation.

[0013] To realize the foregoing advantages, the invention in one form comprises a control loop circuit for optimizing a power supply output under varying load conditions. The power supply has a main loop amplifier and an output stage to generate the output. The control loop circuit includes a static control path coupled to the output and having an error amplifier. The error amplifier is operative to generate an error signal for presentation to the main loop amplifier where the error signal represents the difference between a desired output and a sensed output. A dynamic control path is coupled to the error amplifier output and is responsive to the error signal to generate a dynamic compensation signal. The dynamic control path has an output coupled to the main loop amplifier output.

[0014] In another form, the invention comprises a power supply system including a main loop amplifier circuit and an output stage disposed in cascade with the main loop amplifier circuit. The system also includes a control loop circuit including a static control path coupled to the output and having an error amplifier. The error amplifier is operative to generate an error signal for presentation to the main loop amplifier, the error signal representing the difference between a desired output and a sensed output. A dynamic control path is coupled to the error amplifier output and is responsive to the error signal to generate a dynamic compensation signal, the dynamic control path having an output coupled to the main loop amplifier output.

[0015] In yet another form the invention comprises a method of controlling the output of a DUT power supply. The method includes the steps of generating a static error signal based on the difference between the desired power supply output and the actual power supply output; producing a dynamic error signal in parallel with the static error signal; and summing the static error signal and dynamic error signal to create an optimal compensation signal.

[0016] Other features and advantages of the present invention will be apparent from the following detailed description when read in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The invention will be better understood by reference to the following more detailed description and accompanying drawings in which

[0018]FIG. 1 is a simplified block diagram of a control loop apparatus according to one form of the present invention;

[0019]FIG. 2 is a more detailed block diagram of the control loop apparatus of FIG. 1; and

[0020]FIG. 3 is a block diagram similar to FIG. 2 showing a second embodiment of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

[0021] Control circuitry plays an important role in the ability of a high-accuracy power supply to maintain a desired voltage to a varying load under operating conditions. With reference to FIG. 1, the control circuit of the present invention, generally designated 10, provides automatic optimal control compensation for powering a load 12 by combining a static control loop 20 with a programmable dynamic control loop 70. This unique combination avoids fixed compensation settings and automatically adjusts the compensation to minimize manual input and errors.

[0022] Generally, and further referring to FIG. 1, the static control loop 20 includes a main loop amplifier circuit 40 cascaded with an output stage circuit 50. An error amplifier circuit 30 feeds back the output from the output stage circuit to the input of the main loop amplifier circuit. The dynamic control loop 70 also employs the error amplifier for its initial error signal and a digital-signal-processor (DSP) circuit 72 that is disposed in parallel with the main loop amplifier circuit.

[0023] In further detail, and referring now to FIG. 2, the control circuit 10 of the present invention monitors the variably changing output from the DUT load 14. The load receives power from the supply through respective positive and negative force lines 16 and 18 that include parasitic resistances R_(p1) and R_(p2), and a load capacitance CL. Respective positive and negative sense lines 22 and 24 are coupled to the force lines and provide a feedback path for the input of the error amplifier circuit 30.

[0024] Further referring to FIG. 2, the error amplifier circuit 30 comprises a differential amplifier 32 with an output resistance R1. One input of the amplifier is coupled to the positive sense line 22, and the other input coupled to the negative sense line 24. A digital-analog-converter DAC1 provides the error amplifier with an analog reference voltage corresponding to the desired digitally programmed power supply output voltage setting.

[0025] The main loop amplifier circuit 40 includes an operational amplifier U1 having an inverting (−) input disposed at the output of the error amplifier circuit 30. A series connection of resistor R_(comp) and capacitor C_(comp) forms a negative feedback path for a pre-set linear compensation depending on the values of R_(comp) and C_(comp), as is well known in the art.

[0026] The output stage circuit 50 receives the output of the main loop amplifier circuit 40, and comprises a rectifier 52, driver circuitry 56, and an output stage amplifier 62. The rectifier includes an op-amp U2 biased by resistors R3 and R4, and having respective source and sink signal paths 64 and 66. The source signal path includes resistor R5 while the sink signal path includes resistor R6. The paths are selectively activated by oppositely disposed diodes D1 and D2 having anode and cathode respectively connected to the op amp U2 output, and cathode and anode respectively tied to the respective resistors. The source and sink signal paths feed the driver circuitry 56 comprising respective source and sink drivers U3 and U4. Each driver has respective gain resistors R7, R8 and R9, R10 for defining the driver gain for the signal fed to the power output stage 62. The output of the power output stage is then fed through the parasitic resistance R_(p1) and load capacitance CL to the DUT.

[0027] The inventors have discovered that by adding the dynamic control loop in parallel with the static control loop, changes in compensation to the error signal to provide optimal performance may be automatically provided without external manual intervention. As noted briefly above, the dynamic control loop 70 includes a DSP circuit 72. The DSP circuit includes a digital signal processor 74 and memory 76 (either on or off-chip) for storing look-up tables, algorithms, and the like. An analog-to-digital converter ADC1 is coupled to the output of the error amplifier 32 to sample the analog error signal and present it in digital form to the DSP circuit. An inverse setup is provided at the DSP output with a pair of digital-to-analog converters DAC1 and DAC2 to convert digital source or sink signals to analog waveforms for presentation through resistors R11 and R12 to the negative inputs of the drivers U3 and U4.

[0028] In operation, the force signal converter DAC1 provides the desired supply voltage level to the error amplifier circuit 30. Changes in current demand by the DUT 14 are sensed along the sense lines 22 and 24 to the inputs of the error amplifier 32, and the actual level compared to the desired level. The difference is then fed to the rest of the static control loop 20, and the dynamic control loop 70 simultaneously.

[0029] The main loop amplifier circuit 40 acts on the error signal to provide the preset level of linear compensation defined by the values of Rcomp and Ccomp. The resulting signal is then fed through to the rectifier 52 and directed along either the source or sink signal path 64 or 66, depending on the signal polarity. This linear compensation signal is then augmented with a dynamic compensation signal from the dynamic control loop 70 as more fully described below.

[0030] As the static control loop 20 responds to the error signal, the DSP 74 receives a digitized version through the converter ADC1. The digital signal is then analyzed over a series of samples to determine the optimum level of compensation for the power supply. In effect, the DSP and its associated algorithm can effectively implement a much higher order filter function than the simple RC scheme in a normal control loop, and it does it with a constant phase delay unlike a higher order filter implemented in analog components.

[0031] The dynamic loop filter function may be adaptive, that is, it can decide what to do based on the dv/dt determined by measurements of the previous N samples. For a very high negative dv/dt it can generate a high output to drive the loop on very hard. For positive dv/dt it can generate an output that's decreasing in level to prepare to settle at a final value.

[0032] Preferably, when the error amplifier signal goes below a threshold value, the output of the dynamic control loop 70 should be zero. The main analog amplifier circuit 40 is under control of the loop. The DSP 74 only becomes active to provide dynamic response optimization during periods of time where the error amplifier 32 detects errors above a threshold value. This allows the static control loop 20 to provide optimal accuracy during periods of static or slowly changing conditions.

[0033] The static and dynamic control signals are then summed, at the driver negative inputs, to produce an optimal compensation signal. The driver circuitry 56 receives the optimal signal and responds by appropriately driving the output stage 62 to source current to or sink current from the DUT 14. As the current demand is met, the supply voltage is maintained at the desired programmed level.

[0034] Referring now to FIG. 3, a second embodiment of the control circuit of the present invention simplifies the DSP circuit, generally designated 80, by reducing the number of DACs at the output to one, DAC1. The DAC output is then coupled to the output of the main loop amplifier 40 and summed with the linear compensation signal. This provides a cost effective way of implementing the present invention by minimizing components in the dynamic control loop. All other aspects of the second embodiment are similar to that described with respect to the first embodiment.

[0035] Those skilled in the art will appreciate the many benefits and advantages afforded by the present invention. Because of the programmable nature of the dynamic control loop in responding to variable load conditions, automatic compensation is realized without any external manual intervention. This omits the possibility of manual error relating to incorrect compensation settings. Moreover, by providing a dynamically responsive control circuit, the compensation can be truly optimized based on real-time output loading conditions rather than a predicted compromise setting.

[0036] While the invention has been particularly shown and described with reference to the preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention. For example, while the invention has been described primarily in the context of automatic test equipment, power supply technology has a broad array of applications, including computers and other electronic systems. 

What is claimed is:
 1. A control loop circuit for optimizing a power supply output under varying load conditions, the power supply having a main loop amplifier and an output stage to generate the output, the control loop circuit including: a static control path coupled to the output and having an error amplifier, the error amplifier operative to generate an error signal for presentation to the main loop amplifier, the error signal representing the difference between a desired output and a sensed output; and a dynamic control path coupled to the error amplifier output and responsive to the error signal to generate a dynamic compensation signal, the dynamic control path having an output coupled to the main loop amplifier output.
 2. A control loop circuit according to claim 1 wherein the dynamic control path includes: input conversion circuitry for converting the error signal into a digital signal, a digital-signal-processor coupled to the conversion circuitry; a look-up table for storing optimal compensation signal responses to detected error signals, the DSP operative in response to the digitized error signal to access the look-up table and identify the optimal compensation signal, and generating the optimal signal; and output conversion circuitry for feeding the optimal signal to the main loop amplifier output.
 3. A control loop circuit according to claim 2 wherein: the look-up table comprises a RAM memory.
 4. A control loop circuit according to claim 1 wherein the dynamic control path is disposed in parallel with the static control path.
 5. A control loop circuit according to claim 1 wherein: the dynamic control path is selectively activated when the error signal is greater than a predetermined threshold.
 6. A control loop circuit according to claim 2 wherein: the output conversion circuitry comprises a digital-to-analog converter.
 7. A control loop circuit according to claim 2 wherein: the static control path includes respective source and sink signal paths; and the output conversion circuitry comprises respective source and sink digital-to-analog converters coupled to the respective source and sink signal paths.
 8. A control loop circuit for controlling the loaded output of a DUT power supply, the DUT power supply including a main loop amplifier and an output stage amplifier, the control system including: means for statically generating an error signal and coupled between the input and output of the power supply; and a dynamic control loop including a digital-signal-processor, the dynamic control loop disposed in parallel with the static control loop, the dynamic control loop selectively cooperating with the static control loop to optimize the power supply output in response to varying output loads.
 9. A control loop circuit according to claim 8 wherein: the means for statically generating an error signal comprises a static control path including an error amplifier, the error amplifier operative to generate an error signal for presentation to the main loop amplifier.
 10. A power supply system including: a main loop amplifier circuit; an output stage disposed in cascade with the main loop amplifier circuit; and a control loop circuit the control loop circuit including a static control path coupled to the output and having an error amplifier, the error amplifier operative to generate an error signal for presentation to the main loop amplifier, the error signal representing the difference between a desired output and a sensed output; and a dynamic control path coupled to the error amplifier output and responsive to the error signal to generate a dynamic compensation signal, the dynamic control path having an output coupled to the main loop amplifier output.
 11. A control loop circuit according to claim 10 wherein the dynamic control path includes: input conversion circuitry for converting the error signal into a digital signal, a digital-signal-processor coupled to the conversion circuitry; a look-up table for storing optimal compensation signal responses to detected error signals, the DSP operative in response to the digitized error signal to access the look-up table and identify the optimal compensation signal, and generating the optimal signal; and output conversion circuitry for feeding the optimal signal to the main loop amplifier output.
 12. A control loop circuit according to claim 11 wherein: the look-up table comprises a RAM memory.
 13. A control loop circuit according to claim 10 wherein the dynamic control path is disposed in parallel with the static control path.
 14. A control loop circuit according to claim 10 wherein: the dynamic control path is selectively activated when the error signal is greater than a predetermined threshold.
 15. A control loop circuit according to claim 11 wherein: the output conversion circuitry comprises a digital-to-analog converter.
 16. A control loop circuit according to claim 11 wherein: the static control path includes respective source and sink signal paths; and the output conversion circuitry comprises respective source and sink digital-to-analog converters coupled to the respective source and sink signal paths.
 17. A method of controlling the output of a DUT power supply, the method including the steps of: generating a static error signal based on the difference between the desired power supply output and the actual power supply output; producing a dynamic error signal in parallel with the static error signal; and summing the static error signal and dynamic error signal to create an optimal compensation signal.
 18. A method according to claim 17 wherein the producing step is dependent on the magnitude of the static error signal being above a pre-set threshold.
 19. A method according to claim 17 wherein the producing step includes the steps of: converting the static error signal into a digital signal; analyzing the digital signal; creating a dynamic error signal based on the analyzing step; and converting the digital dynamic error signal to an analog dynamic error signal. 